<?php
require_once "wish.php";

//获取到ID
$id = $_GET["id"];
var_dump($id);

//删除语句
$sql = "DELETE FROM `wish` WHERE `wish`.`id` = $id";

//执行语句
$conn->query($sql);

//返回首页
header("Location:index.php");
?>